public class TextBox extends Button{
  int xcor;
  int ycor;
  int len;
  int wid;
  String input = "";
  
   public TextBox(int x, int y, int l, int w) {
    xcor = x;
    ycor = y;
    len = l;
    wid = w;
  }
  
  public void changeText(char c) {
    input = input + c;
  }
  public void deleteChar() {
    input = input.substring(0,input.length()-1);
  }
  
}
